package cn.netswap.jeegorilla.framework.security.bean;

import java.awt.image.BufferedImage;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author lgw
 * @version 1.0
 * @date 2020/3/19 10:42
 */
public class ImageValidCode extends ValidCode{
    /**
     * 图片实体
     */
    private BufferedImage image;

    public ImageValidCode(String code, Long validTimes, Date date, BufferedImage image) {
        super(code, validTimes, date);
        this.image = image;
    }

    public ImageValidCode(BufferedImage image) {
        this.image = image;
    }

    public BufferedImage getImage() {
        return image;
    }

    public void setImage(BufferedImage image) {
        this.image = image;
    }
}
